from haystack.indexes import *
from haystack import site
from modules.paster.models import Paste

class PasteIndex(ModelSearchIndex):
    class Meta:
        fields = ['data']

site.register(Paste, PasteIndex)